package com.edu.cdp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.Parameter;
import lombok.Data;

/**
 * 
 * @TableName order_details
 */
@TableName(value ="order_details")
@Data
public class OrderDetails implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    @Parameter(name = "id", description = "订单详情id")
    private Integer id;

    /**
     * 
     */
    @Parameter(name = "orderId", description = "订单id")
    private Integer orderId;

    /**
     * 
     */
    @Parameter(name = "goodId", description = "商品id")
    private Integer goodId;

    /**
     * 
     */
    @Parameter(name = "number", description = "商品数量")
    private Integer number;

    /**
     * 
     */
    @Parameter(name = "unitPrice", description = "该条商品详情单价")
    private Double unitPrice;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}